package tag18_04_08.mvcAufgabe.swing;

import javax.swing.JOptionPane;

public class MessageDialog {
	public static void showError(String errMsg) {
		JOptionPane.showMessageDialog(null, errMsg, "Error", JOptionPane.ERROR_MESSAGE);
	}
	
	public static void showMessage(String msg) {
		JOptionPane.showMessageDialog(null, msg, "TicTacToe", JOptionPane.INFORMATION_MESSAGE);
	}

}
